﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Data.Linq;

namespace Sapro_Project
{
    public class Sapro_Data_Context:DataContext
    {
        public Sapro_Data_Context(string connectionString)
            : base(connectionString)
        { }
        public Table<Professor> Professor
        {
            get
            {
                return this.GetTable<Professor>();
            }
        }
        public Table<Escola> Escola
        {
            get
            {
                return this.GetTable<Escola>();
            }
        }
        public Table<Turma> Turma
        {
            get
            {
                return this.GetTable<Turma>();
            }
        }
        public Table<Materias> Materia
        {
            get
            {
                return this.GetTable<Materias>();
            }
        }
        public Table<Aluno> Aluno
        {
            get
            {
                return this.GetTable<Aluno>();
            }
        }
        public Table<Ata> Ata
        {
            get
            {
                return this.GetTable<Ata>();
            }
        }
    }
}
